home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 21 / AACD 21.iso / AACD / Utilities / Ghostscript / src / gscolor1.h < prev    next >
Encoding:
C/C++ Source or Header  |  2001-01-01  |  2.0 KB  |  42 lines

  1. /* Copyright (C) 1993 Aladdin Enterprises.  All rights reserved.
  2.   
  3.   This file is part of AFPL Ghostscript.
  4.   
  5.   AFPL Ghostscript is distributed with NO WARRANTY OF ANY KIND.  No author or
  6.   distributor accepts any responsibility for the consequences of using it, or
  7.   for whether it serves any particular purpose or works at all, unless he or
  8.   she says so in writing.  Refer to the Aladdin Free Public License (the
  9.   "License") for full details.
  10.   
  11.   Every copy of AFPL Ghostscript must include a copy of the License, normally
  12.   in a plain ASCII text file named PUBLIC.  The License grants you the right
  13.   to copy, modify and redistribute AFPL Ghostscript, but only under certain
  14.   conditions described in the License.  Among other things, the License
  15.   requires that the copyright notice and this notice be preserved on all
  16.   copies.
  17. */
  18.  
  19. /*$Id: gscolor1.h,v 1.2 2000/09/19 19:00:26 lpd Exp $ */
  20. /* Client interface to Level 1 extended color facilities */
  21. /* Requires gscolor.h */
  22.  
  23. #ifndef gscolor1_INCLUDED
  24. #  define gscolor1_INCLUDED
  25.  
  26. /* Color and gray interface */
  27. int gs_setcmykcolor(P5(gs_state *, floatp, floatp, floatp, floatp)), gs_currentcmykcolor(P2(const gs_state *, float[4])),
  28.       gs_setblackgeneration(P2(gs_state *, gs_mapping_proc)), gs_setblackgeneration_remap(P3(gs_state *, gs_mapping_proc, bool));
  29. gs_mapping_proc gs_currentblackgeneration(P1(const gs_state *));
  30. int gs_setundercolorremoval(P2(gs_state *, gs_mapping_proc)), gs_setundercolorremoval_remap(P3(gs_state *, gs_mapping_proc, bool));
  31. gs_mapping_proc gs_currentundercolorremoval(P1(const gs_state *));
  32.  
  33. /* Transfer function */
  34. int gs_setcolortransfer(P5(gs_state *, gs_mapping_proc /*red */ ,
  35.             gs_mapping_proc /*green */ , gs_mapping_proc /*blue */ ,
  36.                gs_mapping_proc /*gray */ )), gs_setcolortransfer_remap(P6(gs_state *, gs_mapping_proc /*red */ ,
  37.             gs_mapping_proc /*green */ , gs_mapping_proc /*blue */ ,
  38.                      gs_mapping_proc /*gray */ , bool));
  39. void gs_currentcolortransfer(P2(const gs_state *, gs_mapping_proc[4]));
  40.  
  41. #endif /* gscolor1_INCLUDED */
  42.